

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
	font-style: italic;
	color: lighten(@color-link-2 , 20%);
}
blockquote:before,
q:before  {
	content: '“';
	content: open-quote;
}
blockquote:after ,
q:after {
	content: '”';
	content: close-quote;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-------------xiaodao-----------*/



/*-------------base style-----------*/

@color-bg 		: 	#fff;
@color-link-1	:	#aa2812;
@color-link-2	:	#000;

@size-site 		: 	650px;

@size-space 	: 	10px;

@font-size-base	: 	12px;


body {
	font: @font-size-base "Lucida Grande", "Lucida Sans", Verdana, Arial, Helvetica, sans-serif;
	color: @color-link-2;
}

a {
	text-decoration: none;
}

.link-styel(@color-1 : #aa2812 ,@color-hover : #000) {
	a {
		
		color: @color-1;
		&:hover {
			color: @color-hover;
		}
	}
}

body {
	padding: @size-space * 0.8;
}

.nav-link-styel {
	.link-styel(@color-link-1 , @color-link-2);
}

.title-link-styel {
	.link-styel(@color-link-2 , @color-link-1);
}
.logdate-link-styel {
	.link-styel(@color-link-2 , lighten(@color-link-2 , 50%));
}

/*-------------responsive style-----------*/


@media (min-width: 750px) {
	body {
		padding: 0 !important;
	}
	.wrap {
		width: @size-site !important;
	}
}

@media (max-width: 749px) {
	
	.wrap {
		width: 100%!important;
		img {
			max-width: 100% !important;
		}
	}

	.header {
		h1 {
			margin: @size-space 0 @size-space * 2 !important;
			font-size: 24px !important;	
		}
		
	}

}

.wrap {
	margin-left: auto;
	margin-right: auto;
	width: @size-site ;
	img {
		max-width: @size-site;
		height: auto;
	}
}
.header {
	text-align: center;
	h1 {
		font-size: 38px;
		line-height: 1em ;
		margin-top: @size-space * 5 ;
		margin-bottom: @size-space * 3 ;
		a {
			color: lighten(@color-link-2 , 50%);
		}
	}
	.site-slogan {
		color: @color-link-2;
		margin-top: @size-space  ;
		margin-bottom: @size-space * 2;
	}
}
.banner {
	display: none;
}
.nav-top {
	margin-bottom: @size-space * 3;
	ul {
		list-style: none;
		text-align: center;
		li {
			display: inline-block;
			*display: inline;
			*zoom:1;
			.nav-link-styel;
			a {
				padding: @size-space * 0.4 @size-space * 0.6;
			}
		}
	}
}

.content {
	.log-box {
		font-size: 14px;
		line-height: 14px * 1.48;
		.nav-link-styel;
		.log-title {
			margin-bottom: @size-space * 1;
			.title-link-styel;
			font-size: 20px;
			a {
				font-size: 20px;
			}
		}
		.log-date {
			border-top: 1px solid lighten(@color-link-2 , 70%);
			font-size: 12px;
			margin-top: @size-space ;
			.logdate-link-styel;
			.count {
				a {
					span {
						padding: 0 @size-space * 0.4;
					}
				}
			}
		}
	}
	p {
		font-size: 14px;
		margin-bottom:@size-space; 
	}
	#trackback {
		.logdate-link-styel;
		a {
			font-size: 12px;
		}
		font-size: 12px;
		margin-bottom: @size-space * 0.5 ;
	}
}
.log-list {
	.log-box {
		margin-bottom: @size-space * 2;
	}
	.readmore {
		.title-link-styel;
		a {
			font-size: 12px;
		}
	}
	.page-nav {
		.title-link-styel;
		a {
			padding: @size-space * 0.4;
		}
	}
}

.footer {
	margin-top: @size-space  * 4;
	padding-bottom: @size-space  * 2;
	border-top: 1px solid lighten(@color-link-2 , 70%);
	.logdate-link-styel;
	p {
		text-align: center;
	}
	.footer-info {	
		margin: @size-space  0 @size-space * 0.4  ;
		span {
			padding-right: @size-space ;
		}
		
	}
	.emlog-site {			
		padding-right: @size-space ;			
	}
}

.nav-log {
	.logdate-link-styel;
	text-align: center;
	margin: @size-space  0 ;
	a {
		font-size: 12px;
	}
}
.sidebar {
	display: none;
}
#comment-place {
	p {
		margin: @size-space* 0.6  0 ;
		input[type="submit"] {
			margin-top:  @size-space;
		}
	}
	input {
		width: 60%;
		height: 24px;
	}
	textarea {
		width: 100%;
		resize:none;
	}
}
















